#ifndef SEND_FRAME_SERVER
#define SEND_FRAME_SERVER
#include"../Global.h"
#include"HSocket.h"
#include"../Domain/ClientMsg/MainMsg.pb.h"
#include"../Domain/ClientMsg/RemoteCtlMsg.pb.h"
#include"../Domain/SendFrameClientMsg/FrameMsg.pb.h"
class DataDecoding;

class RecFrameServer:public HServerBase{
public:
    RecFrameServer(int flag);
    ~RecFrameServer();
public:
    int rcv_frame_packet(string& data);
public:
    int startServer() override;
    void stopServer() override;
public:
    bool status;//接收状态
private:
    sockaddr_in cli;
    DataDecoding* dataDecoder;
};


#endif // !1
